home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 3 / Amiga Format CD03 (1996-07-04)(Future Publishing)(GB)(Track 1 of 6)[!][issue 1996-08].iso / comms / netsoftware / amitcp2_x_gcc.lha / dummy.c < prev    next >
C/C++ Source or Header  |  1994-01-11  |  440b  |  33 lines

  1. /*
  2.  * dummy.c --- unimplemented netdb functions 
  3.  *
  4.  * Created      : Sat Mar 20 10:06:38 1993 ppessi
  5.  * Last modified: Sat Mar 20 10:15:21 1993 ppessi
  6.  *
  7.  */
  8.  
  9. #include <netdb.h>
  10. #if !__SASC
  11. #define NULL ((void *) 0)
  12. #endif
  13. struct hostent *
  14. gethostent (void)
  15. {
  16.   return NULL;
  17. }
  18. struct netent *
  19. getnetent (void)
  20. {
  21.   return NULL;
  22. }
  23. struct servent *
  24. getservent (void)
  25. {
  26.   return NULL;
  27. }
  28. struct protoent *
  29. getprotoent (void)
  30. {
  31.   return NULL;
  32. }
  33.